package com.example.medicalrecord.AggregationModule.loginRegistered.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class AdminLoginParam {
    @NotBlank(message = "电话号码不能为空")
    @ApiModelProperty(value = "电话号码账号")
    private String phone;
    @NotBlank(message = "密码不能为空")
    @ApiModelProperty(value = "用户密码")
    private String password;
    @NotBlank(message = "身份不能为空")
    @ApiModelProperty(value ="用户身份唯一标识符")
    private String sole;
}
